<!--
 * @FilePath     : /study_code/css/word-break_break-all.html
 * @Description  :
 * @Date         : 2025-04-27 11:17:06
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-27 11:17:24
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="" />
    <style>
      p.test1 {
        width: 11em;
        border: 1px solid #000000;
        word-break: normal;
      }

      p.test2 {
        width: 11em;
        border: 1px solid #000000;
        word-break: break-all;
      }

      p.test3 {
        width: 11em;
        border: 1px solid #000000;
        word-break: keep-all;
      }
    </style>
  </head>
  <body>
    <p class="test1">This is a veryveryveryveryveryveryveryveryveryvery long paragraph.</p>
    <p class="test2">This is a veryveryveryveryveryveryveryveryveryvery long paragraph.</p>
    <p class="test3">This is a veryveryveryveryveryveryveryveryveryvery long paragraph.</p>

    <p>
      <b>注释：</b>
      目前 Opera 不支持 word-break 属性。
    </p>
    <script></script>
  </body>
</html>
